# include <bits/stdc++.h>
using namespace std;
int col[3];
int main() { 
    printf("random times:");
    int n, k;
    cin >> n;
    k = n;
    while(k--) { 
        col[rand() % 3]++;
    }
    n /= 100;
    printf("blue: %.4lf%%\n", (double)col[0] / n);
    printf("green: %.4lf%%\n", (double)col[1] / n);
    printf("red: %.4lf%%\n", (double)col[2] / n);

}
